package com.avocado.configuration.service;

import com.avocado.configuration.dto.SequenceEditDto;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.avocado.configuration.dto.SequenceQueryDto;
import com.avocado.configuration.entity.Sequence;

import java.util.List;

import com.avocado.configuration.dto.SequenceAddDto;


public interface SequenceService {
	

	 Sequence getOne(Long id);
	

	 Long add(SequenceAddDto dto);
    

     void update(SequenceEditDto t);
	

     Page<Sequence> findByPage(Pageable pageable, SequenceQueryDto dto);
    

     List<Sequence> findAll(SequenceQueryDto dto);
	

     Boolean deleteById(Long id);
     

     String getNextValueBySeqName(String name);
	

}
